//
//  XiaoximenAppDelegate.h
//  Xiaoximaen_iOS
//
//  Created by Wang Zhongyu on 12-7-17.
//  Copyright (c) 2012年 Peking University. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MBProgressHUD.h"
#import "PABezelHUDDelegate.h"

#define _ColorWaitToConfirm [UIColor colorWithRed:197/255.0 green:226/255.0 blue:109.0/255.0 alpha:0.5]
#define _ColorConfirm [UIColor colorWithRed:197/255.0 green:177/255.0 blue:109.0/255.0 alpha:0.5]
//#define _ColorTextWaitToConfirm [UIColor colorWithRed:0.0/255.0 green:0.0/255.0 blue:0.0/255.0 alpha:1.0]
#define _ColorTextWaitToConfirm [UIColor colorWithRed:0.0/255.0 green:153.0/255.0 blue:204.0/255.0 alpha:1.0]
#define _ColorTextConfirm _ColorTextWaitToConfirm
#define _ColorResult [UIColor colorWithRed:0.0/255.0 green:153.0/255.0 blue:211.0/255.0 alpha:1.0]

#define _HTMLREQUEST @"http://xiaoximen.pkuapp.com"

#define kNAME @"user_name"
#define kID @"user_id"

#define kNEWPARTY @"new_party"
#define kNEWPLACES @"new_places"
#define kNEWTIMES @"new_times"
#define kNEWPARTYID @"new_party_id"
#define kNEWPLACERESULTS @"new_place_results"
#define kNEWTIMERESULTS @"new_time_results"

#define kPLACENAME @"place_name"
#define kPLACEID @"id"
#define kTIMESTART @"time_start"
#define kTIMEEND @"time_end"
#define kTIMEID @"id"
#define kRESULTID @"id"
#define kRESULTNAME @"name"
#define kRESULT @"result"

#define kINVITATIONID @"invitation_id"
#define kSHORTURL @"invitation_short_url"

#define kINVITATIONIDS @"invitationIDs"
#define kINVITATIONIDDOWNLOADED @"invitationDownloaded"

@interface XiaoximenAppDelegate : UIResponder <UIApplicationDelegate, PABezelHUDDelegate>

@property (strong, nonatomic) UIWindow *window;
@property (strong, nonatomic) MBProgressHUD *progressHub;

@end
